package com.dao;

import com.entity.Landownership;
import com.entity.LandownershipExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface LandownershipDao {
    long countByExample(LandownershipExample example);

    int deleteByExample(LandownershipExample example);

    int deleteByPrimaryKey(Integer oid);

    int insert(Landownership record);

    int insertSelective(Landownership record);

    List<Landownership> selectByExample(LandownershipExample example);

    Landownership selectByPrimaryKey(Integer oid);

    int updateByExampleSelective(@Param("record") Landownership record, @Param("example") LandownershipExample example);

    int updateByExample(@Param("record") Landownership record, @Param("example") LandownershipExample example);

    int updateByPrimaryKeySelective(Landownership record);

    int updateByPrimaryKey(Landownership record);
}